﻿using System;

class Program
{
    static void Main()
    {
        int max=0;
        string[] str=
        {
            "asdssa","asdssasd","sss","ggfghfh","dasdadadasdad"
        };
        foreach (var item in str)
        {
            if (item.Length > max)
            {
                max = item.Length;
            }
        }
        Console.WriteLine(max);
    }
}